package com.cdvtc.flower.dao;

import com.cdvtc.flower.model.Products;

import java.sql.SQLException;
import java.util.List;

public interface ProductsDao {
    List<Products> getAllProducts();
    void updateProduct(Products products);
    Products getProductById(int product_id);

    List<Products> getProductsOnSale();

    String DeleteProduct(int product_id);
    int getNextProductId() throws SQLException;

    boolean addProduct(Products products);

    Products getProduct(int product_id);
}
